package com.miaoxun.controller;

import com.miaoxun.web.shiro.ShiroUtils;

public class BaseController {

    public String getUsername() {
        return ShiroUtils.getUser().getUsername();
    }

    public Long getUserId() {
        return ShiroUtils.getUserId();
    }
}
